<%@page import="com.netistate.pojo.ProjectServices"%>
<%@page import="com.netistate.pojo.Sale"%>
<%@page import="com.netistate.pojo.Project"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="com.netistate.pojo.User"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>服务记录表页面</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/default.css" />
    <script type="text/javascript"  src="${pageContext.request.contextPath}/js/common.js"></script>
    <script type="text/javascript"  src="${pageContext.request.contextPath}/plugin/msgbox/msgbox.js"></script>
    <script type="text/javascript"  src="${pageContext.request.contextPath}/jsp/project/project.js"></script>
  </head>
  <body>
  		
  		<div id="rcon_onepage" style="width:100%;height:95%; overflow-y:scroll; border:1px solid;" >
			<table id="dArticleList" width="100%" border="0" cellpadding="0" cellspacing="1"  class="resizable">
				<thead>
					<tr class="fixHead">
						<td  class="td1" width="15%">服务记录名称</td>
						<td  class="td1" width="15%">支持日期</td>
						<td  class="td1" width="15%">服务类型</td>
						<td  class="td1" width="8%">服务工程师</td>
						<td  class="td1" width="7%">对方工程师</td>
						<td  class="td1" width="10%">地址</td>
					</tr>
				</thead>
				<tbody>
				
				<%
					List<ProjectServices> list = new ArrayList<ProjectServices>();
					List<ProjectServices> psList = (List<ProjectServices>)request.getAttribute("sss");
					if(psList == null){
						list = (List<ProjectServices>)request.getSession().getAttribute("ProjectServicesList");
						//if(techNoteList.size() == 0){
						%><tr onMouseOver= "this.bgColor   =   '#cccccc '; "   onMouseOut= "this.bgColor   =   '#FFFFFF'; "></tr><%
						//}
					} else {
						list = psList;
					}
					for(ProjectServices ps : list){
					%>
					<tr onMouseOver= "this.bgColor   =   '#cccccc '; "   onMouseOut= "this.bgColor   =   '#FFFFFF'; " >  
			       		<td title="<%=ps.getServiceName() %>" align="center" class="td2 txbtip" ><%=ps.getServiceName() %></td>
			       		<td title="<%=ps.getSupportDate() %>" align="center" class="td2 txbtip" ><%=ps.getSupportDate() %></td>
			       		<td title="<%=ps.getServiceType() %>" align="center" class="td2 txbtip" ><%=ps.getServiceType() %></td>
			       		<td title="<%=ps.getOurPeople() %>" align="center" class="td2 txbtip" ><%=ps.getOurPeople() %></td>
			       		<td title="<%=ps.getOtherPeople() %>" align="center" class="td2 txbtip" ><%=ps.getOtherPeople() %></td>
			       		<td title="<%=ps.getAddress() %>" align="center" class="td2 txbtip" ><%=ps.getAddress() %></td>
					</tr>	
				  <%}%>	
								
				
				</tbody>
			</table>
		</div>		
		
		
	</body>
</html>
    
    
    
